﻿import * as React from 'react';
import { NavLink, NavLinkProps } from 'react-router-dom';

interface SidebarItemProps extends NavLinkProps {

}

export default (props: SidebarItemProps) => (
    <li>
        <NavLink exact={true} activeClassName="active" {...props}>
            <i className="iconfont icon-edit"/> {props.children}
        </NavLink>
    </li>
);